import React from 'react';

export interface IGridProps {
  /**
   * 默认为false
   * fluid ? 'container' : 'container-fluid'
   */
  fluid?: boolean;
}

export default class Grid extends React.Component<IGridProps> {
  public render() {
    return (
      <div className={this.props.fluid ? 'container-fluid' : 'container'}>{this.props.children}</div>
    );
  }
}
